/**
 * 环境配置封装
 */

const env = import.meta.env.MODE || 'prod';
const EnvConfig = {
    dev:{
        baseApi:'/iot-platform-api',
        mockApi:'https://www.fastmock.site/mock/39cd5b82b7037234af47cf1a61468348/api',
    },
    test:{
        baseApi:'/iot-platform-api',
        mockApi:'https://www.fastmock.site/mock/39cd5b82b7037234af47cf1a61468348/api',
    },
    prod:{
        baseApi:'/iot-platform-api',
        mockApi:'https://www.fastmock.site/mock/39cd5b82b7037234af47cf1a61468348/api',
    }
}
export default{
    env,
    mock:true,
    namespace:'manager',
    ...EnvConfig[env]
}